<html>
<head>
<title>300px Body</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- ImageReady Slices (300px Body.jpg) -->
<script language="JavaScript" src="../logic/validation/validation.js" type="text/javascript"></script>
<script language="JavaScript" src="../logic/validation/sub_marks.js" type="text/javascript"></script>
<table width="800" height="173" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
	<tr>
		<td>
			<img src="../images/marks_mothly progress.gif" width="800" height="69" alt=""></td>
	</tr>
	<tr >
		<td height="64" background="../images/2.gif" style="background-repeat:repeat-y">
    		<table width="750" border="0" cellspacing="0" cellpadding="0">
				<?php 
	  	    	include'../logic/Classes/db.php';
				$x=new Dbconnect();
				$con=$x->getConnection();
	 			$result1=mysql_query("select sub_gr from subject_code",$con);
	     		?>
      		<form method="post" action="../exam/test.php" target="_blank" onSubmit="return validate()"> 
      			<tr>
      				<td width="49"></td>
        			<td width="230"><strong> Reg_no</strong>
          				<input type="text" name="txtReg" id="txtReg"></td>
        			<td width="123"><select name="sltSubgr" id="sltSubgr">
		   				<option value="Select">Subject_code</option>
           				<?php while($row1=mysql_fetch_array($result1)) {?>
		  				<option value="<?php echo $row1['sub_gr'];  ?>"><?php echo $row1['sub_gr'];  ?>   </option>
        				<?php } ?>
        				</select></td>
        			<td width="29">&nbsp;</td>
        			<td colspan="2"><select name="sltYr" id="sltYr">
		  				<option value="Select">Year</option>
          				<option value="2012">2012</option> 
          				<option value="2013">2013</option>
          				<option value="2014">2014</option>
          				<option value="2015">2015</option>
           				</select>        </td>
               		<td width="109"><input type="submit" name="Submit" value="Generate" ></td>
      			</tr>
	  			<tr>
	    			<td>&nbsp;</td>
	    			<td colspan="5">&nbsp;</td>
	    			<td>&nbsp;</td>
	    		</tr>
	  			<tr>
        			<td colspan="5">&nbsp;</td>
        			<td width="209">
                    	<table width="123">
          					<tr>
            					<td width="115"><label>
              						<input name="rType" type="radio" value="doc" checked>Document</label></td>
          					</tr>
          					<tr>
            					<td><label>
              						<input type="radio" name="rType" value="line" >Graph
            						</label></td> 
          					</tr>
        				</table>
                     </td>
        			<td>&nbsp;</td>
	  			</tr>
      		</form>
    	</table>
     </td>
	</tr>
	<tr>
		<td>
			<img src="../images/3.gif" width="800" height="40" alt=""></td>
	</tr>
</table>
<!-- End ImageReady Slices -->
</body>
</html>